package com.ihg.hiex.admin.entity.dto;

/**
 * 
 * @author houtao
 *
 */
public class FinancialManagement {
    
    private String assessorEvalution;
    
    private String internalBenchmark;
    
    private String externalBenchmark;
    
    private int seizingOpportunities;
    
    private int interpretingData;
    
    private int providingInsights;
    
    private int generatingIdeas;
    
    private int developingStrategies;
    
    private int potential;
    
    /**
     * 
     */
    public FinancialManagement() {
    }
    
    /**
     * 
     * @param seizingOpportunities
     * @param interpretingData
     * @param providingInsights
     * @param generatingIdeas
     * @param developingStrategies
     */
    public FinancialManagement(int seizingOpportunities, int interpretingData, int providingInsights,
            int generatingIdeas, int developingStrategies) {
        this.seizingOpportunities = seizingOpportunities;
        this.interpretingData = interpretingData;
        this.providingInsights = providingInsights;
        this.generatingIdeas = generatingIdeas;
        this.developingStrategies = developingStrategies;
        double po = (seizingOpportunities) * 0.166666666666667
                + (interpretingData + providingInsights + generatingIdeas) * 0.25
                + (developingStrategies) * 0.0833333333333333;
        this.potential = new Double(po).intValue();
    }
    
    /**
     * 
     * @param assessorEvalution
     * @param internalBenchmark
     * @param externalBenchmark
     * @return
     */
    public FinancialManagement init(String assessorEvalution, String internalBenchmark, String externalBenchmark) {
        this.assessorEvalution = assessorEvalution;
        this.internalBenchmark = internalBenchmark;
        this.externalBenchmark = externalBenchmark;
        return this;
    }
    
    /**
     * 
     * @param seizingOpportunities
     * @param interpretingData
     * @param providingInsights
     * @param generatingIdeas
     * @param developingStrategies
     * @return
     */
    public FinancialManagement init(int seizingOpportunities, int interpretingData, int providingInsights,
            int generatingIdeas, int developingStrategies) {
        this.seizingOpportunities = seizingOpportunities;
        this.interpretingData = interpretingData;
        this.providingInsights = providingInsights;
        this.generatingIdeas = generatingIdeas;
        this.developingStrategies = developingStrategies;
        double po = (seizingOpportunities) * 0.166666666666667
                + (interpretingData + providingInsights + generatingIdeas) * 0.25
                + (developingStrategies) * 0.0833333333333333;
        this.potential = new Double(po).intValue();
        return this;
    }



    /**
     * @return the assessorEvalution
     */
    public String getAssessorEvalution() {
        return assessorEvalution;
    }

    /**
     * @return the internalBenchmark
     */
    public String getInternalBenchmark() {
        return internalBenchmark;
    }

    /**
     * @return the externalBenchmark
     */
    public String getExternalBenchmark() {
        return externalBenchmark;
    }

    /**
     * @return the seizingOpportunities
     */
    public int getSeizingOpportunities() {
        return seizingOpportunities;
    }

    /**
     * @return the interpretingData
     */
    public int getInterpretingData() {
        return interpretingData;
    }

    /**
     * @return the providingInsights
     */
    public int getProvidingInsights() {
        return providingInsights;
    }

    /**
     * @return the generatingIdeas
     */
    public int getGeneratingIdeas() {
        return generatingIdeas;
    }

    /**
     * @return the developingStrategies
     */
    public int getDevelopingStrategies() {
        return developingStrategies;
    }

    /**
     * @return the potential
     */
    public int getPotential() {
        return potential;
    }

    /**
     * @param assessorEvalution the assessorEvalution to set
     */
    public void setAssessorEvalution(String assessorEvalution) {
        this.assessorEvalution = assessorEvalution;
    }

    /**
     * @param internalBenchmark the internalBenchmark to set
     */
    public void setInternalBenchmark(String internalBenchmark) {
        this.internalBenchmark = internalBenchmark;
    }

    /**
     * @param externalBenchmark the externalBenchmark to set
     */
    public void setExternalBenchmark(String externalBenchmark) {
        this.externalBenchmark = externalBenchmark;
    }

    /**
     * @param seizingOpportunities the seizingOpportunities to set
     */
    public void setSeizingOpportunities(int seizingOpportunities) {
        this.seizingOpportunities = seizingOpportunities;
    }

    /**
     * @param interpretingData the interpretingData to set
     */
    public void setInterpretingData(int interpretingData) {
        this.interpretingData = interpretingData;
    }

    /**
     * @param providingInsights the providingInsights to set
     */
    public void setProvidingInsights(int providingInsights) {
        this.providingInsights = providingInsights;
    }

    /**
     * @param generatingIdeas the generatingIdeas to set
     */
    public void setGeneratingIdeas(int generatingIdeas) {
        this.generatingIdeas = generatingIdeas;
    }

    /**
     * @param developingStrategies the developingStrategies to set
     */
    public void setDevelopingStrategies(int developingStrategies) {
        this.developingStrategies = developingStrategies;
    }

    /**
     * @param potential the potential to set
     */
    public void setPotential(int potential) {
        this.potential = potential;
    }
}
